package com.reny.szkj.ft_home.ui.index.home

import android.widget.ImageView
import com.reny.git.imgload.glide.display
import com.reny.ll.git.base_logic.model.reny.GirlBean
import com.reny.ll.git.mvvm.recycler.BaseViewHolder
import com.reny.ll.git.mvvm.recycler.QuickAdapter
import com.reny.szkj.ft_home.R

class HomeListAdapter: QuickAdapter<GirlBean>(R.layout.item_home_list) {

    override fun convert(holder: BaseViewHolder, item: GirlBean?, position: Int) {
        item?.run {
            display(holder.getView<ImageView>(R.id.iv_image), images[0])
            holder.setText(R.id.tv_name, author)
        }
    }

}